package com.axjy.user.mapper;

import com.axjy.comm.pojo.TpUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper {
    @Select("select * from tp_user where phone=#{phone} and password=#{password}")
    public TpUser findByPhoneAndPassword(@Param("phone") String phone,@Param("password") String password);
}
